// let [a, ...b] = [1, 2, 3, 4];
// console.log(a, b);
// let [a, [b], c] = [1, [2, 3], 4];
// console.log(a, b, c);
// let [a, b = 2] = [1, 3];
// console.log(a, b);
function myFun () {
  console.log('123');
  return 10
}
let [a = myFun()] = [];
console.log(a);